package com.example.novelweb.utils;

import com.example.novelweb.common.BaseResponse;
import com.example.novelweb.common.ErrorCode;
import com.example.novelweb.model.vo.UserVO;
import com.fasterxml.jackson.databind.ObjectMapper;

public class UserUtils {

  // 配合RefreshTokenInterceptor+UserHolder实现
  public static UserVO LoginCheck() {
    // ThreadLocal中是否有用户
    return UserHolder.getUser();
  }




}
